package backend

import (
	"github.com/kataras/iris"
	"github.com/kataras/iris/mvc"
)

type IndexController struct {
	Ctx iris.Context
}

func (c *IndexController) GetIndex() mvc.Result {
	return mvc.View{
		Name: "/admin/index/index.html",
		Data: iris.Map{
		},
	}
}

func (c *IndexController) GetDashboard() mvc.Result {
	return mvc.View{
		Name: "/admin/index/dashboard.html",
		Layout:"layout/admin.html",
	}
}

